//
//  GameObject.h
//  Legions
//
//  Created by Anders Petersen on 13/05/14.
//  Copyright (c) 2014 Anders Petersen. All rights reserved.
//

#import <SpriteKit/SpriteKit.h>

static const int ARMY_SIZE      = 80 ;
static const int SOLDIER_SIZE   = ARMY_SIZE/6;



@interface GameObject : SKSpriteNode

@property float angle;

- (void) moveTo     :(CGPoint)  position    with:   (CGFloat) duration;
- (void) turnRad    :(CGFloat)  rad         with:   (CGFloat) duration;;

- (GameObject *) getGameObjectParent;

@end
